home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8984 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  859 b 

  1. Path: telepost.no!usenet
  2. From: daghs@telepost.no (Dag Helge Sunderland)
  3. Newsgroups: comp.unix.programmer,comp.unix.questions,comp.lang.c
  4. Subject: Re: Help: Inter Process Queues
  5. Date: Fri, 08 Mar 1996 04:37:16 GMT
  6. Organization: TelePost Public Access
  7. Message-ID: <4hndvg$d63@nms.telepost.no>
  8. References: <4hmq55$2sn@dunlop.cs.strath.ac.uk>
  9. NNTP-Posting-Host: morenett105.telepost.no
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. Hi !
  13. You should specify the permissions when you create the queue with
  14. msgget ().  
  15.  
  16. To create a queue with read/write access for owner and group do :
  17.     msget (key, IPC_CREAT | 0660);
  18.  
  19. In your example you create a queue with neither read nor write access
  20. for owner,  and you are not allowed to write to it.
  21.  
  22. Regards
  23.  
  24.  
  25.  
  26.  
  27. Dag Helge Sunderland,            E-mail : daghs@telepost.no
  28. Phone : +47 70 15 08 53          Fax    : +47 70 15 08 53
  29.  
  30.